# https://taskfile.dev

version: "3"

vars:
  TAG: v0.0.1-dev0

includes:
  virt:
    taskfile: Taskfile.virt.yml
    optional: true
tasks:
  local-build:
    cmds:
      - go mod tidy
      - go build ./cmd/d8-doc-ru-linter
  test:
    cmds:
      - go test -vet=off ./...
  build:
    cmds:
      - werf build --repo docker.io/fl64/d8-doc-ru-linter --add-custom-tag={{ .TAG }}
